package com.lostreseditores.sabersai.model.control;

import java.util.List;

import com.lostreseditores.sabersai.model.Examen;
import com.lostreseditores.sabersai.model.dto.ExamenDTO;


public interface IExamenLogic {
    public List<Examen> getExamen() throws Exception;

    public void saveExamen(Integer exagrado, String examdescript,
        Integer examestadon, Integer examidn, String examnombrev,
        Integer examordenn, Integer baseidn_Bases, Integer examidn_Examen,
        Integer tipoexamidn_Tipoexamen) throws Exception;

    public void deleteExamen(Integer examidn) throws Exception;

    public void updateExamen(Integer exagrado, String examdescript,
        Integer examestadon, Integer examidn, String examnombrev,
        Integer examordenn, Integer baseidn_Bases, Integer examidn_Examen,
        Integer tipoexamidn_Tipoexamen) throws Exception;

    public Examen getExamen(Integer examidn) throws Exception;

    public List<Examen> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<Examen> findPageExamen(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberExamen() throws Exception;

    public List<ExamenDTO> getDataExamen() throws Exception;
    
    public List<Examen> getExamenPorTipoExamen(Integer tipoExamen) throws Exception;
    
	public List<Examen> getExamenPorExa_examidn(Integer exa_examidn) throws Exception;

}
